﻿using UnityEngine;
using System.Collections;
using FileCompress;

public class ZoneFileOnAndroid : MonoBehaviour
{
    public static string ZoneFileFolder = Application.streamingAssetsPath;

    public static void UnZip()
    {
        ZoneFileFolder = Application.persistentDataPath;

        SharpUnZipLibTool.UnZip(Application.dataPath, Application.persistentDataPath, true, UnzipDone);

        ZoneFileFolder = Application.persistentDataPath + "/assets";

        ZoneConfig.MapPath = Application.persistentDataPath + "/assets/zonedata/";
        ZoneConfig.CsvPath = Application.persistentDataPath + "/assets/zoneunittemplate/";


    }

    static void UnzipDone(string s)
    {

    }


    public string ReadContent(string filename)
    {
        return string.Empty;
    }
}
